﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Share/MainMenu.Master" AutoEventWireup="true"
    CodeBehind="fPosting.aspx.cs" Inherits="MixScriptWeb.Accounting.fPosting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding-left: 10px;">
        <h2 class="jquery_tab">
            <asp:Label ID="lblTitle" runat="server" Text="General Journal" Font-Bold="True"></asp:Label>
            <asp:HiddenField ID="hdnShow" runat="server" Value="block" />
        </h2>
        <br />
        <table width="100%" class="table-ui">
            <tr>
                <td style="width: 200px">
                    Type Of journal
                </td>
                <td>
                    :<asp:DropDownList ID="ddlJournalType" runat="server">
                        <asp:ListItem Value="0" Text="All Type Of Journal" />
                        <asp:ListItem Value="1" Text="General Journal" />
                        <asp:ListItem Value="2" Text="Cash Recieved" />
                        <asp:ListItem Value="3" Text="Cash Payment" />
                        <asp:ListItem Value="4" Text="Account Recieved" />
                        <asp:ListItem Value="5" Text="Account Payment" />
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    From Date
                </td>
                <td>
                    :<asp:TextBox runat="server" ID="txtFrom" CssClass="input-small datepicker" />
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                    To Date
                </td>
                <td>
                    :<asp:TextBox runat="server" ID="txtTo" CssClass="input-small datepicker" />
                </td>
            </tr>
            <tr>
                <td style="width: 200px">
                </td>
                <td>
                    <asp:Button runat="server" Text="Refresh" OnClick="btnRefresh_click" class="button"
                        Style="width: 99px" />
                    <asp:Button ID="btnProces" runat="server" Text="Posting" CssClass="button" Style="width: 110px"
                        OnClick="btnProces_click" />
                </td>
            </tr>
        </table>
        <br />
        <br />
        <asp:GridView runat="server" ID="gvList" CssClass="gridview" Width="100%" AutoGenerateColumns="false"
            OnSorting="gvList_Sorting" AllowSorting="true" AllowPaging="True" OnPageIndexChanging="gvList_PageIndexChanging">
            <AlternatingRowStyle CssClass="alt" />
            <HeaderStyle Height="40px" HorizontalAlign="Justify" />
            <Columns>
                <asp:TemplateField HeaderStyle-Width="2%">
                    <HeaderTemplate>
                        <asp:CheckBox ID="chkAllHeader" runat="server" AutoPostBack="true" OnCheckedChanged="chkAllHeader_CheckedChanged" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkAll" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="SLIPID" HeaderText="SLIP ID" ItemStyle-Width="13%" />
                <asp:BoundField DataField="SLIPDATEDMY" HeaderText="SLIP DATE" ItemStyle-Width="15%" />
                <asp:BoundField DataField="SLIPCODE" HeaderText="SLIP CODE" ItemStyle-Width="15%" />
                <asp:BoundField DataField="SLIPNUM" HeaderText="SlIP NUMBER" ItemStyle-Width="15%" />
                <asp:BoundField DataField="SLIPCURR" HeaderText="Currency" ItemStyle-Width="10%" />
                <asp:BoundField DataField="SLIPDESC" HeaderText="Description" ItemStyle-Width="30%" />
            </Columns>
            <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
            <FooterStyle CssClass="ft" />
            <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
        </asp:GridView>
    </div>
</asp:Content>
